package com.kindergarten.service.impl;

import com.kindergarten.mapper.TongJiMapper;
import com.kindergarten.pojo.TongJiVo;
import com.kindergarten.service.TongJiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TongJiServiceImpl implements TongJiService {

    @Resource
    TongJiMapper tongJiMapper;

    @Override
    public List<TongJiVo> empTongji() {
        return tongJiMapper.empTongji();
    }

    @Override
    public List<TongJiVo> childTongji() {
        return tongJiMapper.childTongji();
    }
}
